-- GENERATED SPELL FOR [Living Constellation] --


function spell0_33052(pUnit, Event) --@Arcane Barrage,n/a--
pUnit:FullCastSpellOnTarget(64599,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33052', 2000, 1)
end

function Sorts_33052(pUnit, Event)
local choix_sorts_33052 = math.random(0, 0)
if choix_sorts_33052 == 0 then
pUnit:RegisterEvent('spell0_33052', 1, 1)
end
end

function mob33052_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33052', math.random(1500, 3000), 1)
end

function mob33052_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33052_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33052_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33052, 1, 'mob33052_Action')
RegisterUnitEvent(33052, 2, 'mob33052_Leave')
RegisterUnitEvent(33052, 3, 'mob33052_Kill')
RegisterUnitEvent(33052, 4, 'mob33052_Die')
